package top.kaoshanji.p3ch11a;

/**
 * 代码清单-p3ch11a-342页a：不可变对象的类的声明方式
 * author kaoshanji
 * ^_^
 * create time 2025/2/3 16:40
 */
public class User {

    private final String name;
    private final String email;

    public User(String name, String email) {
        this.name = name;
        this.email = email;
    }
}
